package com.banggood.upms.bean.vo;

import com.banggood.upms.bean.vo.validation.AdjustGroup;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author XuChuangFeng
 */
@Data
public class TreePermissionVo implements Serializable{

    private String treePermissionId;

    @NotNull(message = "{validation.TreePermissionVo.treeId.NotNull}", groups = {AdjustGroup.class})
    private String treeId;

    private String permissionId;

    @NotNull(message = "{validation.TreePermissionVo.systemId.NotNull}", groups = {AdjustGroup.class})
    private String systemId;

    //添加操作的权限ID列表
    private List<String> newPermIds;
}
